package bid.dao;


import bid.entity.UserRole;

import java.util.List;

/**
* Created by IntelliJ IDEA.
* @author: ZengXueSong
* @Created: 2023/10/26 9:42
*/
public interface UserRoleDao {
    //1.增
    public int add(UserRole ur);

    //2.删
    public int del(long id);

    //3.改
    public int update(UserRole ur);

    //4.查
    public List<UserRole> findAll();
    public List<UserRole> search(int pageNo,int pageSize);

    //5.根据id查
    public UserRole get(long id);
}
